package org.springboot.demo.entity;


import java.util.List;

public class Role {

  private int id;
  private String r_Name;
  // 对应权限集合
  private List<Rolepower> powerList;

  public List<Rolepower> getPowerList() {
    return powerList;
  }

  public void setPowerList(List<Rolepower> powerList) {
    this.powerList = powerList;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getR_Name() {
    return r_Name;
  }

  public void setR_Name(String r_Name) {
    this.r_Name = r_Name;
  }
}
